/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: XMQ
 * Date: 2022-05-18
 * Time: 7:44
 */
class Money{
    public double money;

}
class Student{
    public int age;
    public Money m =new Money();

    public Student(int age) {
        this.age = age;
    }
}
public class Test {
    public static void main(String[] args) {
        Student student = new Student(10);
        student.m.money = 99.9;
        System.out.println(student.m.money);
    }
}
